package com.zzx.Util;

import com.google.gson.Gson;

/**
 * @Author: Spider Man
 * @Description: Json和对象转换工具
 * @Date Created in 2020-09-11 11:39
 * @Modified By:
 */
public class JSONUtil {
    private static Gson gson = new Gson();

    public static String toJSON(Object o){
        return gson.toJson(o);
    }
}
